package org.shapeoforion.utils.timer;

/**
 * Factory class for Sleeper objects.
 *
 * @author jps
 * @version 0.1
 */
public class SleeperFactory {

    /**
     * @return the skeeper
     */
    public static Sleeper getSleeper() {

        if(sleeper==null) {

            sleeper = new ThreadSleeperImpl();
        }
        return sleeper;
    }

    private static Sleeper sleeper = null;
}
